package com.ttt.radioapp_core.helpers;

import android.app.ProgressDialog;

public class Globals {
	 private static Globals instance;
	 
	   // Global variable
	   ProgressDialog pd;
	 
	   
	   private Globals(){}
	 
	   public void setPD(ProgressDialog d){
	     this.pd= d;
	   }
	   public ProgressDialog getPD(){
	     return this.pd;
	   }
	 
	   public static synchronized Globals getInstance(){
	     if(instance==null){
	       instance=new Globals();
	     }
	     return instance;
	   }

}
